﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sinacor.UI.Bovespa.Monitoracao.Model
{
    public class DumperMonitorEntity
    {
        public DumperMonitorEntity()
        {
            MsmqMonitor = new MsmqMonitorEntity();
            ErrorData = new ErrorData();
        }

        public string DumpRootPath { get; set; }//Arquivo de dump
        public int SavedMessagesPerSecond { get; set; }//Mensagens Gravadas por Segundo

        public long LimitPrivateMemory{get;set;}//Private Memory
        public int LimitHandleCount{get;set;}//Handle Count
        public int LimitThreadCount{get;set;}//Thread Count
        public string ProcessName { get; set; }//Process Name
        public long PrivateMemory { get; set; }//Private Memory
        public long VirtualMemory { get; set; }//Virtual Memory
        public int HandleCount { get; set; }//Handle Count
        public int ThreadCount { get; set; }//Thread Count
        public TimeSpan PrivilegedProcessorTime { get; set; }//Privileged Processor Time
        public TimeSpan TotalProcessorTime { get; set; }//Total Processor Time
        public DateTime InitializedDate { get; set; }//Process Initialized
        public TimeSpan UpTime { get; set; }//Process Up Time
        public string MachineName { get; set; }//Nome da máquina
        public string MachineIPAddress { get; set; }//IP da máquina
        public string MachineMacAddress { get; set; }//MAC ADDRESS DA MAQUINA
        public string ProcessId{get;set;}
        public string ThreadId { get; set; }

        public MsmqMonitorEntity MsmqMonitor { get; set; }

        public ErrorData ErrorData { get; set; }

    }
}
